package com.lcj.workflow.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.HashMap;
import java.util.Map;

@FeignClient("aoch-odr")
public interface OrderCommentApi {

    @PostMapping("/comment/searchCommentIdAndInstanceId")
    HashMap searchCommentIdAndInstanceId(Map map);

    @PostMapping("/comment/acceptAppeal")
    int acceptAppeal(Map map);

    @PostMapping("/comment/startWorkflow")
    int startWorkflow(Map<String, Object> form);

    @PostMapping("/comment/updateStatus")
    int updateStatus(Map a);

    @PostMapping("/comment/updateRateAndRemark")
    int updateRateAndRemark(Map paramMap);

}
